package com.onLineCar.apply.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.onLineCar.apply.exprot.ExcelImport;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.onLineCar.common.core.annotation.Excel;
import com.onLineCar.common.core.web.domain.BaseEntity;

/**
 * app更新对象 t_apply
 *
 * @author godGuang
 * @date 2023-12-24
 */
@TableName(value = "t_apply")
@Data
public class Apply extends BaseEntity
{
    // private static final long serialVersionUID = 1L;

    private int rowNum;

    /** 主键自增 */
    private Long applyId;

    /** 应用名称 */
    @Excel(name = "应用名称")
    @ExcelImport("应用名称")
    private String applyName;

    /** 应用版本号 */
    @Excel(name = "应用版本号")
    @ExcelImport(value = "应用版本号",kv = "1-ios;2-Android")
    private String applyNumber;

    /** 版本号code */
    @Excel(name = "版本号code")
    @ExcelImport("版本号code")
    private String applyVersioncode;

    /** 系统id */
    @Excel(name = "系统id")
    @ExcelImport("系统id")
    private Long applyUpdateSystemId;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ExcelImport("更新时间")
    private Date applyStartTime;

    /** 安装包 */
    @Excel(name = "安装包")
    private String applyPackage;

    /** 通知类型(1.强制 2.非强制) */
    @Excel(name = "通知类型(1.强制 2.非强制)")
    private Long noticeType;

    /** 更新文案 */
    @Excel(name = "更新文案")
    private String copyWriter;

    public void setApplyId(Long applyId)
    {
        this.applyId = applyId;
    }

    public Long getApplyId()
    {
        return applyId;
    }
    public void setApplyName(String applyName)
    {
        this.applyName = applyName;
    }

    public String getApplyName()
    {
        return applyName;
    }
    public void setApplyNumber(String applyNumber)
    {
        this.applyNumber = applyNumber;
    }

    public String getApplyNumber()
    {
        return applyNumber;
    }
    public void setApplyVersioncode(String applyVersioncode)
    {
        this.applyVersioncode = applyVersioncode;
    }

    public String getApplyVersioncode()
    {
        return applyVersioncode;
    }
    public void setApplyUpdateSystemId(Long applyUpdateSystemId)
    {
        this.applyUpdateSystemId = applyUpdateSystemId;
    }

    public Long getApplyUpdateSystemId()
    {
        return applyUpdateSystemId;
    }
    public void setApplyStartTime(Date applyStartTime)
    {
        this.applyStartTime = applyStartTime;
    }

    public Date getApplyStartTime()
    {
        return applyStartTime;
    }
    public void setApplyPackage(String applyPackage)
    {
        this.applyPackage = applyPackage;
    }

    public String getApplyPackage()
    {
        return applyPackage;
    }
    public void setNoticeType(Long noticeType)
    {
        this.noticeType = noticeType;
    }

    public Long getNoticeType()
    {
        return noticeType;
    }
    public void setCopyWriter(String copyWriter)
    {
        this.copyWriter = copyWriter;
    }

    public String getCopyWriter()
    {
        return copyWriter;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyId", getApplyId())
            .append("applyName", getApplyName())
            .append("applyNumber", getApplyNumber())
            .append("applyVersioncode", getApplyVersioncode())
            .append("applyUpdateSystemId", getApplyUpdateSystemId())
            .append("applyStartTime", getApplyStartTime())
            .append("applyPackage", getApplyPackage())
            .append("noticeType", getNoticeType())
            .append("copyWriter", getCopyWriter())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
